/**
 * @TcpClientHandler.java  COPYRIGHT xiaojian
 * 
 * Created on 2017年6月26日 下午7:02:49
 */
package xj.toolkit.benchmark.test.tcp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author <a href="mailto:cxj2000@gmail.com">xiaojian.cao</a>
 *
 */
public class TcpClientHandler extends SimpleChannelInboundHandler<Object> {
    private static final Logger logger = LoggerFactory.getLogger(TcpClientHandler.class);

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, Object msg)
            throws Exception {
        logger.info("client接收到服务器返回的消息:" + msg);

    }

}

